package com.my.hotel.service.impl;

import com.my.hotel.entity.EvaDTO;
import com.my.hotel.mapper.EvaMapper;
import com.my.hotel.service.EvaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class EvaServiceImpl implements EvaService {

    @Autowired
    private EvaMapper evaMapper;

    public List<EvaDTO> getEvaDTOList() {
        return evaMapper.getEvaDTOList();
    }

    public void checkEva(String app_status, int id) {
        evaMapper.checkEva(app_status,id);
    }
}
